﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace appDataContracts
{
    [DataContract]
    public class SerializedMessage
    {
        [DataMember]
        public SerializedClient client;
        [DataMember]
        public SerializedSupplier supplier;
        [DataMember]
        public string message;

        public SerializedMessage()
        {

        }

        public SerializedMessage(SerializedClient pClient, SerializedSupplier pSupplier, string pMessage)
        {
            client = pClient;
            supplier = pSupplier;
            message = pMessage;
        }
    }
}

